const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/prjmgr",
  name: "prjmgr",
  component: Layout,
  redirect: "/prjmgr/overview",
  meta: {
    icon: "ri:folder-3-fill",
    title: "项目",
    rank: 0
  },
  children: [
    {
      path: "/prjmgr/overview",
      name: "prjmgr_overview",
      component: () => import("@/views/prjmgr/index.vue"),
      meta: {
        title: "项目",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
} satisfies RouteConfigsTable;
